package config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan(basePackages = {"dao.*", "service.*"})
@Import(DataSourceConfiguration.class)
@EnableTransactionManagement    //开启事务的支持
public class SpringConfiguration {
}
